package com.coder.rental.vo;


import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * 返回前端用户信息实体
 */
@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class UserInfoVo {
    private Integer id;
    private String name;
    private String avatar;//头像
    private String introduction;//描述
    private List<String> roles;//权限
}
